package com.example.comment_oa.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.checkerframework.checker.units.qual.A;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * @TableName process
 */
@TableName(value ="process")
@Data
public class Process implements Serializable {
    /**
     * 预算调整审核ID
     */
    @TableId(type = IdType.AUTO)
    private Integer processId;

    /**
     * 预算调整流程编号
     */
    private String processBh;

    /**
     * 流程标题
     */
    private String processTitle;

    /**
     * 调整金额
     */
    private Double tzje;

    /**
     * 调整类型
     */
    private Integer tzlx;

    /**
     * 流程状态
     */
    private Integer processState;

    /**
     * 申请人
     */
    private String empName;
    /**
     * 申请人工号
     */
    private String empCard;
    /**
     * 申请日期
     */
    @JsonFormat(pattern ="yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date processSqrq;

    @TableField(exist = false)
    private Adjust adjust;

    @TableField(exist = false)
    private Additional additional;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}